#ifndef SERVERCONF_H_
#define SERVERCONF_H_

#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h> 

#define DEFAULT_MEDIADIR	"/var/media"
#define DEFAULT_IF			"ens33"

enum
{
	RUN_DAEMON=1,
	RUN_FOREGROUND
};

struct server_conf_st
{
	char *rcvport;
	char *mgroup;
	char *media_dir;
	char runmode;
	char *ifname;
};

extern struct server_conf_st server_conf;
extern int serversd;
extern struct sockaddr_in sndaddr;

#endif
